def Max_Min(arr):
    if not arr:
        return False
    max_val=min_val=arr[0]
    for i in range(1,len(arr)):
        if arr[i]>max_val:
            max_val=arr[i]
        if arr[i]<min_val:
            min_val=arr[i]
    print("Max=%d,Min=%d"%(max_val,min_val))

